package com.xueyi.aixihu.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @authoer:hxs
 * @createDate:2022/8/16
 * @description: 返回文章信息
 */
@Data
public class DtNewsVo {
    /**
     * id
     */
    private Integer id;

    /**
     * 父级id
     */
    private Integer cid;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeNew;
//
//    @JsonFormat(pattern = "yyyy-MM-dd :HH:mm:ss")
//    private Date createTime;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 排序
     */
    private String paixu;

    /**
     * 地区
     */
    private Integer fromToAreaId;

    private String thumb;

    private String img;

    private String classifyName;

    private Integer newType;

    private Integer articleType;

    private Integer contentType;

    private Integer systemTypeId;

    private Integer createUserId;

    private String avatar;

    private String username;

    private Integer auditStatus;

    private String failMsg;

    private String name;

    private Integer isPublic;

    private String mediaId;
}
